package com.freework.report.xmlreport.define.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.freework.report.xmlreport.define.service.DefineReportServiceI;
import com.freework.report.xmlreport.define.vo.ReportInfoVO;

@Controller
public class DefineController {
	@Resource()
	DefineReportServiceI service=null;

	public void setService(DefineReportServiceI service) {
		this.service = service;
	}
	@ResponseBody()
	@RequestMapping("report/DefineController/getReportInfoList.do")
	public List<ReportInfoVO> getReportInfoList(){
		return service.getReportInfoList();
		
	}

}
